using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;

using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;
using BitmapFont = FlatRedBall.Graphics.BitmapFont;
using Cursor = FlatRedBall.Gui.Cursor;
using GuiManager = FlatRedBall.Gui.GuiManager;

#if FRB_XNA || SILVERLIGHT
using Keys = Microsoft.Xna.Framework.Input.Keys;
using Vector3 = Microsoft.Xna.Framework.Vector3;
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;


#endif

namespace NereusGame.Entities.Ships
{
	public partial class Asteroid
	{
        Random rand;
        private const float MAX_SIZE = 4f;
        private const float HEALTH = 700f;         // Initial Health of the player.
		private void CustomInitialize()
		{
            rand = new Random();
            InitializeAsteroid();

		}

		private void CustomActivity()
		{


		}

		private void CustomDestroy()
		{
            base.Destroy();

		}

        private static void CustomLoadStaticContent(string contentManagerName)
        {


        }

        private void InitializeAsteroid()
        {
            CurrentHealth = MaxHealth = HEALTH;
            Tex.Texture = Asteroids;
            Body.Radius = MAX_SIZE;
            Tex.ScaleX = Tex.ScaleY = Body.Radius; 
        }
	}
}
